<?php
	include "core/mysql.php";
   session_start();
$arr = $_SESSION['name'];
   $sql="SELECT touxiang_img FROM tbl_user WHERE name='$arr'";
   $res = fetchAll($sql);//查询的方法
?>